﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Reflection;
using Sio.Mdm.Entities;

namespace IDM.Test.Entities
{    
    class Program
    {
        static void Main(string[] args)
        {
            UserSettings settings = EntityFactory.CreateInstance<UserSettings>();
            settings.Integer = 2;
            Console.ReadKey(true);
        }
    }

    [EntitySettings]
    public interface UserSettings : IEntity
    {
        [Field]
        int Integer { get; set; }

        [Field]
        string String { get; set; }
    }
}
